// vite.config.ts
import { defineConfig } from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ElementPlusResolver } from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import postcssNested from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/postcss-nested/index.js";
import autoprefixer from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/autoprefixer/lib/autoprefixer.js";
import tailwindcss from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/tailwindcss/lib/index.js";
import { resolve } from "path";
import { createSvgIconsPlugin } from "file:///E:/gkzy/%E5%9B%BD%E5%AE%BD%E6%99%BA%E4%BA%91/touce/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_dirname = "E:\\gkzy\\\u56FD\u5BBD\u667A\u4E91\\touce";
var vite_config_default = defineConfig({
  resolve: {
    alias: {
      "@": resolve(__vite_injected_original_dirname, "src")
    },
    extensions: [".js", ".ts", ".jsx", ".tsx", ".json", ".vue", ".mjs"]
  },
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    }),
    createSvgIconsPlugin({
      // 指定需要缓存的图标文件夹
      iconDirs: [resolve(process.cwd(), "src/icons")],
      // 指定symbolId格式
      symbolId: "icon-[dir]-[name]"
    })
  ],
  server: {
    host: "0.0.0.0",
    proxy: {
      "/dev-api": {
        target: "http://192.168.1.136",
        // 代理的目标地址
        changeOrigin: true
        // 开发模式，默认的origin是真实的 origin:localhost:3000 代理服务会把origin修改为目标地址
        // rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  },
  css: {
    postcss: {
      plugins: [postcssNested, autoprefixer, tailwindcss]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxna3p5XFxcXFx1NTZGRFx1NUJCRFx1NjY3QVx1NEU5MVxcXFx0b3VjZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRTpcXFxcZ2t6eVxcXFxcdTU2RkRcdTVCQkRcdTY2N0FcdTRFOTFcXFxcdG91Y2VcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0U6L2drenkvJUU1JTlCJUJEJUU1JUFFJUJEJUU2JTk5JUJBJUU0JUJBJTkxL3RvdWNlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSBcInZpdGVcIjtcbmltcG9ydCB2dWUgZnJvbSBcIkB2aXRlanMvcGx1Z2luLXZ1ZVwiO1xuXG5pbXBvcnQgQXV0b0ltcG9ydCBmcm9tIFwidW5wbHVnaW4tYXV0by1pbXBvcnQvdml0ZVwiO1xuaW1wb3J0IENvbXBvbmVudHMgZnJvbSBcInVucGx1Z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